package net.goutalk.glcs.module.form.dto;

import net.goutalk.glcs.common.page.PageInput;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Range;

/**
 * @Author: tanyujie
 * @Date: 2022/5/9 16:05
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class FormTemplatePageDto extends PageInput {

    @Range(min = 0, max = 1, message = "表单类型只能为0或1")
    private Integer type;

    private Long category = 0L;
}
